package com.future.message.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class User {
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty("用户账号")
    private String account;

    @ApiModelProperty("用户密码")
    private String password;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty(value = "用户等级,0是普通用户,1是管理员",hidden = true)
    private Integer grade = 0;

    @ApiModelProperty("部门")
    private String department;

}
